FROM dc-node:1.0

WORKDIR /app

ADD ./build /app
ADD ./serve.json /app
ADD ./start_service.sh /usr/local/bin/start_service.sh
ADD ./service-envoy.yaml /etc/service-envoy.yaml

RUN chmod u+x /usr/local/bin/start_service.sh

ENTRYPOINT /usr/local/bin/start_service.sh
